<?php

    $username = $_GET['username'];
    $review = $_GET['review'];
    print_r($username);

    $con = mysqli_connect('localhost','root','123456','user');

    $sql = "SELECT * FROM `userReview` WHERE `username` ";
    
    $res = mysqli_query($con,$sql);

    

    if (!$res) {
    die('error for mysql: ' . mysqli_error($con));
    }


    $row = mysqli_fetch_assoc($res);

    // print_r($row);

    json_encode($row);
    if($row)(
        print_r(json_encode($row,JSON_UNESCAPED_UNICODE))
    );
    


?>